<ui:composition xmlns="http://www.w3.org/1999/xhtml"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:c="http://java.sun.com/jstl/core"
     xmlns:fmt="http://java.sun.com/jstl/fmt"
     xmlns:x="http://java.sun.com/jstl/xml"
     xmlns:fn="http://java.sun.com/jstl/functions"
     xmlns:a4j="http://richfaces.org/a4j"
     xmlns:rich="http://richfaces.org/rich"
     xmlns:gape="http://componentes.gape/component/gape">

		<gape:actionMapper>
			<rich:scrollableDataTable height="140px" width="340px" id="#{id}" rowClasses="odd,even" value="#{elements}" var="row" 
									  rowKeyVar="linha" sortMode="multi" reRender="#{id}">
				<f:facet name="header">
					<h:outputText value="#{header}" styleClass="pathway" />
				</f:facet>
									  										  
				<rich:column id="name" width="150px">
					<f:facet name="header">
						<h:outputText value="#{header}" />
					</f:facet>
					<h:outputText value="#{row.name}" />
				</rich:column>
				
				<rich:column id="perspective" width="60px">
					<f:facet name="header">
						<h:outputText value="#{msg.perspectiveColumnTitle}"/>
					</f:facet>
					<h:outputText value="#{row.perspective}" />
				</rich:column>					
				
				<rich:column id="relevance" width="60px">
					<f:facet name="header">
						<h:outputText value="#{msg.relevanceTitleColumn}" id="headerRowRelevanciaStrength"/>
					</f:facet>
					<h:outputText value="#{row.relevanciaExtenso}" />
				</rich:column>
				
				<rich:column width="40px">
	            	<f:facet name="header">
	                      <h:outputText value="#{msg.actionsTitleColumn}" />
	              	</f:facet>
	              	
	              	<h:outputText value=" " />
	              	
	                <a4j:commandLink id="delete" action="#{mappedAction}" reRender="#{id}" styleClass="imageLink">
	                	<h:graphicImage value="/files/delete.png" style="border:0" />
	                    <f:setPropertyActionListener value="#{linha}" target="#{selectedItem}" />
	                    <f:setPropertyActionListener value="#{selectedItemTypeValue}" target="#{selectedItemTypeTarget}" />
	                </a4j:commandLink>
	                <rich:toolTip for="delete" value="#{msg.buttonDelete}" />		                    
	        	</rich:column>						
			</rich:scrollableDataTable>
		</gape:actionMapper>

</ui:composition>